package com.spring.shops.model.vo;

import com.spring.shops.model.dto.SkuDTO;
import com.spring.shops.model.entity.TzSku;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
//产品数据返回实体产品->SKU 1:N
public class ProductVO {
    private Integer prodId;
    private Integer shopId;
    private String prodName;
    private Double oriPrice;
    private Double price;
    private String brief;
    private String pic;
    private String imgs;
    private Integer status;
    private Integer categoryId;
    private Integer soldNum;
    private Integer totalStocks;
    private String  deliveryMode;
    private String content;
    private Integer deliveryTemplateId;
    private String  updateTime;
    private String createTime;
    private String putawayTime;
    private Integer version;
    //产品的所有属性集合
    private List<SkuDTO> skuList;
    //产品所属的店铺名字
    private String shopName;
    //产品的所有标签集合
    private List<Integer> tagList;

}
